package com.qing.springcloud.common;

import lombok.Getter;

/**
 * @author caozhipeng
 * @date 2025/7/11
 *  @description 群组成员状态枚举类
 */
@Getter
public enum GroupMemberStatusEnum implements CommonEnum{
    NORMAL(0, "正常"),
    EXITED(1, "退出"),
    KICKED(2, "被踢出"),
    BANNED(3, "被禁言");

    private Integer code;
    private String name;
    GroupMemberStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
    public Integer getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
}
